package org.jeecg.modules.charge.service.impl;

import org.jeecg.modules.charge.entity.ChargeInvoiceMangroupPosition;
import org.jeecg.modules.charge.mapper.ChargeInvoiceMangroupPositionMapper;
import org.jeecg.modules.charge.service.IChargeInvoiceMangroupPositionService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 票据组对应岗位
 * @Author: jeecg-boot
 * @Date:   2019-07-08
 * @Version: V1.0
 */
@Service
public class ChargeInvoiceMangroupPositionServiceImpl extends ServiceImpl<ChargeInvoiceMangroupPositionMapper, ChargeInvoiceMangroupPosition> implements IChargeInvoiceMangroupPositionService {
	
	@Autowired
	private ChargeInvoiceMangroupPositionMapper chargeInvoiceMangroupPositionMapper;
	
	@Override
	public List<ChargeInvoiceMangroupPosition> selectByMainId(String mainId) {
		return chargeInvoiceMangroupPositionMapper.selectByMainId(mainId);
	}

	@Override
	public boolean allSave(List<ChargeInvoiceMangroupPosition> arraylist){
      return chargeInvoiceMangroupPositionMapper.allSave(arraylist);
	}
}
